package com.tentative.competition.common.model.schedule.resp;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @auther: Smile Huang
 * @date: 2023/6/25 22:09
 * @desc: 首页大赛动态响应
 * @version: 2.0
 */
@Data
public class HomeDynamicStateResp {

    @ApiModelProperty("新闻ID")
    private Long newsId;

    @ApiModelProperty("标题")
    private String title;

    @ApiModelProperty("标签")
    private String tag;

    @ApiModelProperty("发布时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date publishTime;

    @ApiModelProperty("内容")
    private String content;

    @ApiModelProperty("缩略内容")
    private String disContent;

    @ApiModelProperty("新闻主图附件URL")
    private String imgUrl;

    private Long fileId;
}
